﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 字符串占位符
{
    class Program
    {
        static void Main(string[] args)
        {
            string str = "我是{0}，我叫{1}，我住在{2}";
            Console.WriteLine(str, "中国人", "叶静", "广州");
            Console.ReadKey();
        }
    }
}
